Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add staticCanMessage method #158

Merged
merged 19 commits into from
Dec 2, 2023
Merged

add staticCanMessage method #158

merged 19 commits into from
Dec 2, 2023

Conversation

kele-leanes
Copy link
Contributor

Description:
This PR makes available the staticCanMessage method which is used on the native packages.
This change resolves the comment in this discussion

iOS Android

@kele-leanes kele-leanes self-assigned this Nov 30, 2023
@kele-leanes kele-leanes requested a review from a team as a code owner November 30, 2023 19:49
@peterferguson
Copy link
Contributor

Nice been looking forward to this! Currently not having this is eating up alot of our airstack calls 😆

Copy link
Contributor

@nplasterer nplasterer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears your missing the place on Client you want to put this static method. Probably here: https://github.com/xmtp/xmtp-react-native/blob/main/src/lib/Client.ts#L120

example/src/tests.ts Outdated Show resolved Hide resolved
example/src/tests.ts Outdated Show resolved Hide resolved
@kele-leanes
Copy link
Contributor Author

here the evidence for the new test passed

Screenshot 2023-11-30 at 20 45 47

@nplasterer
Copy link
Contributor

This looks really great thanks for all the modifications! I'm just holding off on approving because I want this PR to land first #155 as it makes a lot of formatting changes and I don't want to have any further merge conflicts. 🙏

@nplasterer nplasterer requested a review from jhaaaa as a code owner December 2, 2023 01:02
Copy link
Contributor

@nplasterer nplasterer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled in the large codec changes, fixed the linting issues, and tweaked a few small things. LGTM :shipit:

@nplasterer nplasterer merged commit 5ea4174 into main Dec 2, 2023
4 of 5 checks passed
@nplasterer nplasterer deleted the kele/static-can-message branch December 2, 2023 01:35
Copy link
Contributor

github-actions bot commented Dec 2, 2023

🎉 This PR is included in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants